package com.zs.usc.mapper;

import com.zs.usc.entity.RoleInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户角色表 Mapper 接口
 * </p>
 *
 * @author ZS
 * @since 2021-12-11
 */
@Mapper
public interface RoleInfoMapper extends BaseMapper<RoleInfo> {

    List<RoleInfo> listRole(@Param("userId") String uid,@Param("appCode") String serverNameUp);
}
